package com.cn.serverline.lineicp.produce.entity;

import cn.stylefeng.roses.kernel.db.api.pojo.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import oracle.sql.NUMBER;

/**
 * <p>
 * 生产执行工艺描述
 * </p>
 *
 * @author 王烁
 * @since 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TE_PROCESS_DESCRIPTION")
@ApiModel(value="TeProcessDescription对象", description="生产执行工艺描述")
public class ProcessDescription extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "生产执行工艺描述ID")
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "工序ID")
    @TableField("PRODUCTION_PROCESSES_ID")
    private Long productionProcessesId;

    @ApiModelProperty(value = "工步id")
    @TableField("PROCESS_STEPS_ID")
    private Long processStepsId;
// processStepsId 去重 ||  partNumber is null
    @ApiModelProperty(value = "总装、部装下发id")
    @TableField("AUTOMATIC_SCHEDULE_ID")
    private Long automaticScheduleId;

    @ApiModelProperty(value = "件号")
    @TableField("PART_NUMBER")
    private String partNumber;

    @ApiModelProperty(value = "产品号")
    @TableField("PRODUCT_NUMBER")
    private String productNumber;

    @ApiModelProperty(value = "排序")
    @TableField("SORT")
    private Long sort;

    @ApiModelProperty(value = "烘烤配置原始记录")
    @TableField("ROAST_RECORDS")
    private String roastRecords;

    @ApiModelProperty(value = "胶液配置原始记录")
    @TableField("GLUE_RECORDING")
    private String glueRecording;

    @ApiModelProperty(value = "区别:总装（ASSEMBLY）部装(DIVISION)")
    @TableField("DISTINGUISH")
    private String distinguish;

    @ApiModelProperty(value = "状态 1已完成 2.未完成")
    @TableField("STATE")
    private Long state;

    @ApiModelProperty(value = "备注")
    private String remark;


}
